package cn.com.dashihui.api.common;

import java.util.HashMap;
import java.util.Map;

/**
 * 用户会员等级
 */
public class UserCode {
	/**
	 * 用户会员等级
	 */
	public static class UserLevel{
		public final static int LEVEL1 = 1;
		public final static int LEVEL2 = 2;
		public final static int LEVEL3 = 3;
		public final static int LEVEL4 = 4;
		public final static int LEVEL5 = 5;
		public final static int LEVEL6 = 6;
		public final static int LEVEL7 = 7;
		public final static Map<Integer,String> map = new HashMap<Integer,String>();
		
		
		public static Map<Integer,String> getMap(){
			map.put(LEVEL1, "普通会员");
			map.put(LEVEL2, "黄金会员");
			map.put(LEVEL3, "白金会员");
			map.put(LEVEL4, "经纪人");
			map.put(LEVEL5, "营业部");
			map.put(LEVEL6, "分公司");
			map.put(LEVEL7, "公司");
			return map;
		}
	}
	/**
	 * 用户会员等级变化动作
	 */
	public static class UserLevelLogFlag{
		public final static int CONSUME = 1;
	}
	
	public static class UserInvite{
		public final static String INVITENAME = "积分";
	}
	
	/**
	 * 用户积分、抵扣券、惠券操作类型1：增加2：减少
	 * @author Administrator
	 *
	 */
	public static class UserLevelLogType{
		public final static int ONE = 1;
		public final static int TWO = 2;
	}
	/**
	 * 用户积分、抵扣卷、变化变化动作
	 * 0：购买商品1：直接拓客奖励2：间接拓客奖励3：营业部服务奖励4：分公司培训奖励5：公司管理奖励 ;6：邀请奖励 7：注册奖励；8：签到奖励9：配送转换（减少）
	 * 0：购买商品1：直接拓客奖励2：间接拓客奖励3：经纪人服务奖励4：营业部培训奖励5：公司管理奖励 ;6：邀请奖励 7：注册奖励；8：签到奖励9：配送转换（减少日志）10：兑换电子券 11 ： 团中团邀请奖励12:转换余额13驳回14：充值奖励 15:提现申请扣除16：取消订单扣减17扣减拓客奖励18团购结束未免单补偿
	 */
	public static class UserValueLogFlag{
		public final static int CONSUME_ZERO = 0;
		public final static int CONSUME_ONE = 1;
		public final static int CONSUME_TWO = 2;
		public final static int CONSUME_THREE = 3;
		public final static int CONSUME_FOUR = 4;
		public final static int CONSUME_FIVE = 5;
		public final static int CONSUME_SIX = 6;
		public final static int CONSUME_SEVEN = 7;
		public final static int CONSUME_EIGHT = 8;
		public final static int CONSUME_NINE = 9;
		public final static int CONSUME_TEN = 10;
		public final static int CONSUME_ELEVEN = 11;
		public final static int CONSUME_TWELVE = 12;
		public final static int CONSUME_THIRTEEN = 13;
		public final static int CONSUME_FOURTEEN = 14;
		public final static int CONSUME_FIFTEEN = 15;
		public final static int CONSUME_SIXTEEN = 16;
		public final static int CONSUME_SEVENTEEN = 17;
		public final static int CONSUME_EIGHTEEN = 18;
	}
	
	

}
